sy = input()
num = [int(x) for x in sy.split('.')]
print(num)